monster1 = {:health => 500}
monster2 = {:health => 500}

for i in 0..5
	puts "Round #{i}"
	attack1 = rand(100)
	health2 = monster2[:health] -= attack1
	puts "monster1 attacks monster 2 with #{attack1} damage"
	puts "monster2's health is now #{health2} / 500"

	attack2 = rand(100)
	health1 = monster1[:health] -= attack2
	puts "monster2 attacks monster 2 with #{attack2} damage"
	puts "monster1's health is now #{health1} / 500"
	if i == 5 && health1 > health2
		puts "monster1 wins the game!"
	elsif i == 5 && health2 > health1
		puts "monster2 wins the game!"
	end
end

